<?php

/**
*****************************************************************************
*
* image.class.php
* The Image is an object !
*
*****************************************************************************
*
* /!\ pure php5 code /!\
*
* Need the debug.class.php file !
*
*****************************************************************************
*
* @version 10092006 
* @author Stanislas PERRIN <stan@extramuros.com>
* @licence http://www.gnu.org/copyleft/gpl.html GNU General Public Licence
*
*****************************************************************************
*
*/

class image
{
	//-------------------------------------------------------------------
	// PROPERTIES
	//-------------------------------------------------------------------
	public var $fullPath = '';
	public var $width = 0;
	public var $height = 0;
	public var $type = 0;
	public var $exif = array();
	
	public function __construct()
	{

	}
	
	//-------------------------------------------------------------------
	// PRIVATE METHODS
	//-------------------------------------------------------------------

	//-------------------------------------------------------------------
	// PUBLIC METHODS
	//-------------------------------------------------------------------
	
	/**
	* editResizePercent
	*
	*/
	public function editResizePercent($percentage=false)
	{
		try
		{
			if (!$percentage) throw new DEBUG();
		}
		catch (DEBUG $d)
		{
		}
		
		return false;
	}
	
	/**
	*
	*
	*/
	public function editResizeFree($height=0;$width=0)
	{
	
	}

}


?>
